package com.k2data.k2app.mapper;

import com.k2data.k2app.domain.po.Problem;
import com.k2data.k2app.mybatis.mapper.K2Mapper;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created by k2data on 18-1-18.
 */
@Mapper
@Repository
public interface ProblemMapper extends K2Mapper<Problem> {

    Problem selectById(long id);

    List<String> selectVibrationDominantFrequency();//振动主导频率

    List<String> selectVibrationDirection();//振动方向

    List<String> selectWithFrequency();//常伴频率

    List<String> selectVibrationStability();//振动稳定性

    List<String> selectPhaseCharacteristics();//相位特征

    List<String> selectVibrationLoadChange();//振动随负荷变化

    List<String> selectVibrationSpeedChange();//振动随转速变化

    List<String> selectVibrationOilChange();//振动随油温变化

    List<String> selectVibrationPressureChange();//振动随出口压力变化

    List<String> selectRotorTrajectory();//转子轨迹

    List<Problem> selectProblemList(Problem problem);

    int delProblem(long id);
}
